package com.buba.pojo;

import java.util.Date;

public class User {
    private Integer id;
    private String usercode;
    private String username;
    private String oldPassword;
    private String password;
    private String newPassword;
    private String rePassword;
    private Integer role;
    private Integer deptid;
    private String deptname;
    private Integer areaid;
    private String areaname;
    private String iddel;
    private Integer createdby;
    private Date creationdate;
    private Integer modifyby;
    private Date modifydate;
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.id
     *
     * @param id the value for useraaa.id
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.userCode
     *
     * @return the value of useraaa.userCode
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getUsercode() {
        return usercode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.userCode
     *
     * @param usercode the value for useraaa.userCode
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setUsercode(String usercode) {
        this.usercode = usercode == null ? null : usercode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.userName
     *
     * @return the value of useraaa.userName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.userName
     *
     * @param username the value for useraaa.userName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.password
     *
     * @return the value of useraaa.password
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.password
     *
     * @param password the value for useraaa.password
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getRePassword() {
        return rePassword;
    }

    public void setRePassword(String rePassword) {
        this.rePassword = rePassword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.role
     *
     * @return the value of useraaa.role
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Integer getRole() {
        return role;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.role
     *
     * @param role the value for useraaa.role
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setRole(Integer role) {
        this.role = role;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.deptId
     *
     * @return the value of useraaa.deptId
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Integer getDeptid() {
        return deptid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.deptId
     *
     * @param deptid the value for useraaa.deptId
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.deptName
     *
     * @return the value of useraaa.deptName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getDeptname() {
        return deptname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.deptName
     *
     * @param deptname the value for useraaa.deptName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setDeptname(String deptname) {
        this.deptname = deptname == null ? null : deptname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.areaId
     *
     * @return the value of useraaa.areaId
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Integer getAreaid() {
        return areaid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.areaId
     *
     * @param areaid the value for useraaa.areaId
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.areaName
     *
     * @return the value of useraaa.areaName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getAreaname() {
        return areaname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.areaName
     *
     * @param areaname the value for useraaa.areaName
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setAreaname(String areaname) {
        this.areaname = areaname == null ? null : areaname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.idDel
     *
     * @return the value of useraaa.idDel
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public String getIddel() {
        return iddel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.idDel
     *
     * @param iddel the value for useraaa.idDel
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setIddel(String iddel) {
        this.iddel = iddel == null ? null : iddel.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.createdBy
     *
     * @return the value of useraaa.createdBy
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Integer getCreatedby() {
        return createdby;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.createdBy
     *
     * @param createdby the value for useraaa.createdBy
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setCreatedby(Integer createdby) {
        this.createdby = createdby;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.creationDate
     *
     * @return the value of useraaa.creationDate
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Date getCreationdate() {
        return creationdate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.creationDate
     *
     * @param creationdate the value for useraaa.creationDate
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.modifyBy
     *
     * @return the value of useraaa.modifyBy
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Integer getModifyby() {
        return modifyby;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.modifyBy
     *
     * @param modifyby the value for useraaa.modifyBy
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setModifyby(Integer modifyby) {
        this.modifyby = modifyby;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column useraaa.modifyDate
     *
     * @return the value of useraaa.modifyDate
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public Date getModifydate() {
        return modifydate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column useraaa.modifyDate
     *
     * @param modifydate the value for useraaa.modifyDate
     *
     * @mbg.generated Thu Mar 17 15:56:05 CST 2022
     */
    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", usercode='" + usercode + '\'' +
                ", username='" + username + '\'' +
                ", oldPassword='" + oldPassword + '\'' +
                ", password='" + password + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", rePassword='" + rePassword + '\'' +
                ", role=" + role +
                ", deptid=" + deptid +
                ", deptname='" + deptname + '\'' +
                ", areaid=" + areaid +
                ", areaname='" + areaname + '\'' +
                ", iddel='" + iddel + '\'' +
                ", createdby=" + createdby +
                ", creationdate=" + creationdate +
                ", modifyby=" + modifyby +
                ", modifydate=" + modifydate +
                '}';
    }
}